#pragma once

class DirectionalLight:
	public ILightSourceObject
{
public:
	DirectionalLight(const NodeCreation& nc);
	virtual ~DirectionalLight();

	/*--------------------------------------------------------------------------*/
	void OnPreRender(const uint i, ERenderQuality::Type quality);
	/*--------------------------------------------------------------------------*/

	const glm::vec3& GetDirection() const;
	void SetDirection(const glm::vec3& dir);

private:
	/*-ILightSourceObject-------------------------------------------------------*/
	void DrawLightVolume();

	/*--------------------------------------------------------------------------*/

	glm::vec3 m_direction;
};

